package com.qezhhnjy.bilibili;

import com.qezhhnjy.bilibili.service.PaymentService;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import javax.annotation.Resource;

/**
 * @author zhaoyangfu - 2021/4/3 14:47
 */
@SpringBootApplication
@MapperScan("com.qezhhnjy.bilibili.mapper")
@Slf4j
@EnableEurekaClient
@EnableDiscoveryClient
public class PaymentMain8001 implements CommandLineRunner {

    @Resource
    private PaymentService paymentService;

    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8001.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
    }
}
